package cn.sciento.transfer.config;


import cn.sciento.core.swagger.ChoerodonRouteData;
import cn.sciento.swagger.annotation.ChoerodonExtraData;
import cn.sciento.swagger.swagger.extra.ExtraData;
import cn.sciento.swagger.swagger.extra.ExtraDataManager;

@ChoerodonExtraData
public class TransferExtraDataManager implements ExtraDataManager {
  public ExtraData getData() {
    ChoerodonRouteData choerodonRouteData = new ChoerodonRouteData();
    choerodonRouteData.setName("hdtt");
    choerodonRouteData.setPath("/hdtt/**");
    choerodonRouteData.setServiceId("${stong.service.transfer.name:stong-transfer}");
    choerodonRouteData.setPackages("cn.sciento.transfer.api");
    extraData.put("choerodon_route", choerodonRouteData);
    return extraData;
  }
}
